/**
*  Module
*
* Description
*/
angular.module('registerApp', ['ui.router', 'register.controllers']).config(['$stateProvider', '$urlRouterProvider',function($stateProvider, $urlRouterProvider) {
	$stateProvider.state('wizard',{
		abstract : true,
		url : '/wizard',
		template : '<div ui-view></div>'
	}).state('wizard.start', {
		url : '/start',
		templateUrl : 'partials/start.html'
	}).state('wizard.email', {
		url : '/email',
		templateUrl : 'partials/email.html'
	}).state('wizard.save', {
		url : '/save',
		templateUrl : 'partials/save.html'
	});

	$urlRouterProvider.otherwise('/wizard/start');
}])